
<template>
  <n-config-provider :locale="locale" :date-locale="dateLocale" :theme="theme">
     
    <router-view></router-view>
  </n-config-provider>
</template>
<script lang="ts">
import { defineComponent, ref } from 'vue'
import { zhCN, dateZhCN  } from 'naive-ui'
import type { NLocale, NDateLocale,GlobalTheme } from 'naive-ui'

export default defineComponent({
  setup () {
    return {
      locale: ref<NLocale | null>(zhCN),
      dateLocale: ref<NDateLocale | null>(dateZhCN),
      theme:ref<GlobalTheme | null>(null)
    }
  }
})
</script>
<style scoped>
.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vue:hover {
  filter: drop-shadow(0 0 2em #42b883aa);
}
</style>
